<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
*/

$app->get('/', function(){
	echo "welcome to ptime3collect api.";
	
	// echo date("Y-m-d H:i:s");
});
$app->get 	('/collect', 			  'CollectController@index');
$app->post 	('/collect', 			  'CollectController@store');
$app->delete('/collect/{id}', 		  'CollectController@destroy');